package com.ghj.service;

import com.ghj.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface UserService {
    //注册，增加用户
    int addUser(User user);

    //查询用户
    User findOneByName(String userName);


}
